package com.lu.luapiinterface.Test;


import com.lu.luapiinterface.client.LuApiClient;
import com.lu.luapiinterface.entity.User;


public class Main {
    public static void main(String[] args) {
         String accessKey = "abc";
         String secretKey = "abc";
        LuApiClient lu = new LuApiClient(accessKey,secretKey);
        String re1 = lu.getName("张三风");
        String re2 = lu.postName("迪迦奥特曼");
        User user= new User();
        user.setUsername("GGG");
        String re3 = lu.jsonName(user);
        System.out.println(re1);
        System.out.println("=========================");
        System.out.println(re2);
        System.out.println("=========================");
        System.out.println(re3);
    }



}
